package com.ruoyi.warning.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenhc
 * @since 2025-05-19
 */
@Data
@TableName("syslog")
@Api(tags = "Syslog", description = "系统日志")
public class Syslog {

    private static final long serialVersionUID = 1L;

    private Integer deviceId;

    private String facility;

    private String priority;

    private String level;

    private String tag;

    private LocalDateTime timestamp;

    private String program;

    private String msg;

    @TableId(value = "seq", type = IdType.AUTO)
    private Long seq;
}
